package com.ys.erp.stage_shop_service.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ys.erp.common.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 支付宝分账总体统计VO
 * 
 * @author AI
 * @date 2024/12/19
 */
@Data
@Accessors(chain = true)
@ApiModel("支付宝分账总体统计")
public class ZfbSeparateAccountOverallStatVO {

    @ApiModelProperty("总分账金额（元）")
    private BigDecimal totalSeparateAmount;

    @ApiModelProperty("总微分呗金额（元）")
    private BigDecimal totalWfbAmount;

    @ApiModelProperty("总分账笔数")
    private Long totalCount;

    @ApiModelProperty("平均分账金额（元）")
    private BigDecimal avgSeparateAmount;

    @ApiModelProperty("平均微分呗金额（元）")
    private BigDecimal avgWfbAmount;

    @ApiModelProperty("最大分账金额（元）")
    private BigDecimal maxSeparateAmount;

    @ApiModelProperty("最小分账金额（元）")
    private BigDecimal minSeparateAmount;

    @ApiModelProperty("涉及店铺数量")
    private Long shopCount;

    @ApiModelProperty("涉及支付宝账户数量")
    private Long zfbAccountCount;

    @ApiModelProperty("统计时间范围开始")
    @JsonFormat(pattern = DateUtil.TIME_FORMAT, timezone = "GMT+8")
    private LocalDateTime statTimeStart;

    @ApiModelProperty("统计时间范围结束")
    @JsonFormat(pattern = DateUtil.TIME_FORMAT, timezone = "GMT+8")
    private LocalDateTime statTimeEnd;

    @ApiModelProperty("统计生成时间")
    @JsonFormat(pattern = DateUtil.TIME_FORMAT, timezone = "GMT+8")
    private LocalDateTime statGenerateTime;
} 